<!-- 电子发票 -->
<template>
	<view class="busines-mod">
		<invoiceTop :yhbh="yhbh" />
		<view class="busines-mod-title">
			<uni-icons type="calendar-filled" color="#00b1ff" size="20"></uni-icons>
			<text style="padding-left: 20rpx;">发票列表</text>
		</view>
		<invoiceDomList :yhbh="yhbh" />
	</view>
	<cUserinfoSelect v-if="!yhbh" @setYhbh="setYhbh" />
</template>

<script setup lang="ts">
	import cUserinfoSelect from "@/pages/bspsd/components/userinfo-select.vue";
	import invoiceTop from "./top";
	import invoiceDomList from "./list";

	import { ref } from 'vue';
	let yhbh = ref("")

	function setYhbh(value : string) {
		yhbh.value = value
	}
</script>

<style lang="scss" scoped>
</style>